'Declaration<ExtensionAttribute()> <JetBrains.Annotations.NotNullAttribute()> Public Overloads Shared Function ReadValueNonNull(Of TValue)( _ ByVal client As IEasyUAClient, _ ByVal nodeArguments As UANodeArguments, _ ByVal attributeId As UAAttributeId _ ) As TValue
'UsageDim client As IEasyUAClient Dim nodeArguments As UANodeArguments Dim attributeId As UAAttributeId Dim value As TValue value = IEasyUAClientExtension2.ReadValueNonNull(Of TValue)(client, nodeArguments, attributeId)
[Extension()] [JetBrains.Annotations.NotNull()] public static TValue ReadValueNonNull<TValue>( IEasyUAClient client, UANodeArguments nodeArguments, UAAttributeId attributeId )
[Extension()] [JetBrains.Annotations.NotNull()] public: static TValue^ ReadValueNonNullgeneric<typename TValue> ( IEasyUAClient^ client, UANodeArguments^ nodeArguments, UAAttributeId attributeId )
Parameters
- client
- The client object that will perform the operation.
The value of this parameter cannot be
null(Nothingin Visual Basic). - nodeArguments
- An arguments object that specifies the node in the OPC server.
The value of this parameter cannot be
null(Nothingin Visual Basic). - attributeId
- The Id of the attribute to read.
Type Parameters
- TValue
- The type to convert the attribute value to.
Return Value
This method never returns null (Nothing in Visual Basic).